package com.hubing.cloud.app.web.es.query;

public class QueryBuilders {

	public static BoolQueryBuilder boolQuery() {
		return new BoolQueryBuilder();
	}

	public static TermQueryBuilder termQuery(String name, String value) {
		return new TermQueryBuilder(name, value);
	}

	public static RangeQueryBuilder rangeQuery(String name) {
		return new RangeQueryBuilder(name);
	}

	public static QueryBuilder regexpQuery(String name, String regexp) {
		return new RegexpQueryBuilder(name, regexp);
	}
}
